﻿@model IEnumerable<prufa.Models.UserProfile>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>User information</title>
</head>
<body>
    <table id="notendalisti">
    <tr><th>Notendanafn</th><th>Netfang</th><th>Gerðist meðlimur</th></tr>
    @foreach(var item in Model){
    <tr><td><a href="/User/UserId/@item.UserId" >@Html.DisplayFor(modelItem => item.UserName)</a></td><td>@Html.DisplayFor(modelItem => item.Email)</td><td>@Html.DisplayFor(modelItem => item.Date)</td></tr>}
    </table>
</body>
</html>